const Mock = require('mockjs');
let id = Mock.mock('@id');
console.log(id);

// mockjs.com/examples.html

let obj = Mock.mock({
  id: "@id()",
  // 中文姓名
  cname: "@cname()",  
  date: "@date()",
  // 'http://dummyimage.com/200x200/red/fff&text=avatar-hehe',
  avatar: "@image('200x200','red','#fff','avatar-hehe')",
  description: "@paragraph()",
  ip: "@ip()",
  email: "@email()"
});
console.log(obj);
